package com.example.makerspace.service;

import com.example.makerspace.dto.MeetingCategoryDTO;
import com.example.makerspace.dto.MeetingDTO;
import com.example.makerspace.dto.PageRequest;
import com.example.makerspace.dto.Result;
import io.swagger.models.auth.In;

import javax.servlet.http.HttpServletRequest;

public interface MeetingService {
    Result getMeetings(PageRequest pageRequest);

    Result addMeetings(MeetingDTO meetingDTO);

    Result updateMeetings(MeetingDTO meetingDTO);

    Result deleteMeetings(Integer id);

    Result getAllMeetings(PageRequest pageRequest);

    Result clickBooking(Integer id, HttpServletRequest request);

    Result getDetailMeeting(Integer id);

    Result cancelBooking(Integer id, HttpServletRequest request);

    Result recommend();

    Result getMeetingCategory();

    Result getMeetingAllCategory(PageRequest pageRequest);

    Result addMeetingCategory(MeetingCategoryDTO meetingCategoryDTO);

    Result updateMeetingCategory(MeetingCategoryDTO meetingCategoryDTO);

    Result deleteMeetingCategory(Integer id);

    Result getUserSig(String username);

    Result getUserList(Integer id);
}
